#include "FreeRTOS.h"
#include "task.h"

void vTaskA( void *pvParameters ){
	int i;
	while(1){
		i++;
		vTaskDelay( 100 / portTICK_RATE_MS );
	}
	return;	
}


void vTaskB( void *pvParameters ){
	int i;
	while(1){
		i++;
		vTaskDelay( 200 / portTICK_RATE_MS );
	}
	return;	
}


void vApplicationIdleHook( void ){
	while(1);
}


int main( void ){

	xTaskCreate( vTaskA, ( signed char * ) "TskA", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
	xTaskCreate( vTaskB, ( signed char * ) "TskB", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );

	vTaskStartScheduler();

	return 0;
}

